@import url("chrome://browser/skin/toolbarIcons.css");
@import url("chrome://browser/skin/tabbrowser/tabs.css");
@import url("chrome://global/skin/extsupport/misc.css");
@import url("chrome://global/skin/");
@import url("chrome://common/skin/browser.css");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
#menubar-items{
-moz-box-orient:vertical}

#menubar-items > menubar{
-moz-box-flex:1}

#PersonalToolbar{
height:27px;
background:transparent;
padding:0;
margin:0 3px 1px 3px!important}

#wrapper-search-container #searchbar html|*.textbox-input{
visibility:hidden}

#print-preview-toolbar{
-moz-appearance:none}

#navigator-toolbox[inFullscreen="true"],
#navigator-toolbox[inFullscreen="true"] > #nav-bar{
border-top:none}

#navigator-toolbox:-moz-system-metric(windows-default-theme) > toolbar{
-moz-appearance:none;
border-style:none;
padding:0!important}

#navigator-toolbox{
-moz-appearance:none;
background-color:#1c1d1d;
padding:0!important;
border-left:2px solid rgba(0,0,0,.8);
border-right:2px solid rgba(0,0,0,.8)}

#main-window:not([chromehidden=""]) #navigator-toolbox,
#main-window[tabmode="3"][chromehidden=""][inFullscreen="false"] #navigator-toolbox,
#main-window[tabmode="1"][chromehidden=""][inFullscreen="false"] #navigator-toolbox,
#main-window[inFullscreen="true"] #navigator-toolbox{
margin-top:0!important}

#main-window[chromehidden=""][inFullscreen="false"] #navigator-toolbox{
margin-top:28px!important}

#personal-bookmarks{
padding-bottom:1px}

#main-window tabpanels.plain{
border:none}

#toolbar-menubar{
border:none!important;
background:transparent;
padding:0!important;
margin:0!important}

#main-window[tabmode="3"] #toolbar-menubar[autohide="false"],
#main-window[tabmode="1"] #toolbar-menubar[autohide="false"]{
margin-top:-2px!important}

#main-menubar{
margin:0 5px!important;
padding:0!important}

#nav-bar{
background:transparent;
height:32px;
border:none!important;
padding:0!important;
margin:0 3px 0 2px!important}

#nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar{
background:transparent url("chrome://browser/skin/toolbar/nav-bar-bg.png") repeat-x}

toolbarbutton.bookmark-item-microsummarized{
max-width:20em}

toolbarbutton.bookmark-item{
-moz-appearance:none;
min-width:0;
max-width:13em;
border:none;
margin:2px 0;
padding:0 4px}

toolbarbutton.bookmark-item:hover{
margin:2px 0!important;
padding:0 4px;
-moz-border-radius:3px;
background:url("chrome://browser/skin/toolbar/bookmark-item-hover.png") left center repeat-x}

toolbarbutton.bookmark-item[dragover="true"][open="true"]{
-moz-appearance:none}

toolbarbutton.bookmark-item > .toolbarbutton-text{
color:#97989a}

toolbarbutton.bookmark-item:hover > .toolbarbutton-text{
color:#fff}

.bookmark-item > .toolbarbutton-icon{
width:16px;
height:16px;
margin-right:3px!important;
padding:0!important}

.bookmark-item > .toolbarbutton-text{
display:-moz-box!important}

.bookmark-item > .toolbarbutton-menu-dropmarker{
display:none}

.bookmark-item + toolbarseparator{
margin-left:2px}

#wrapper-personal-bookmarks .toolbarpaletteitem-box{
width:16px;
height:16px;
background:url("chrome://browser/skin/Bookmarks-folder.png") no-repeat}

.bookmarks-toolbar-customize{
display:none;
max-width:15em!important}

toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize{
display:-moz-box}

toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items{
visibility:hidden}

toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items{
visibility:hidden}

toolbarpaletteitem[place="toolbar"] .places-toolbar-items{
display:none}

menu.bookmark-item,
menuitem.bookmark-item{
min-width:0;
max-width:26em}

.bookmark-item > .menu-iconic-left{
margin-top:0;
margin-bottom:0}

.bookmark-item > .menu-iconic-left > .menu-iconic-icon{
-moz-padding-start:0;
padding-top:0!important;
padding-bottom:0!important}

.bookmark-item{
list-style-image:url("chrome://global/skin/icons/folder-item.png");
-moz-image-region:rect(0,16px,16px,0)}

.bookmark-item[container]{
-moz-image-region:rect(0,32px,16px,16px)}

.bookmark-item[container][open]{
-moz-image-region:rect(16px,32px,32px,16px)}

.bookmark-item[container][livemark]{
list-style-image:url("chrome://browser/skin/livemark-folder.png");
-moz-image-region:auto}

.bookmark-item[container][livemark] .bookmark-item{
list-style-image:url("chrome://browser/skin/livemark-item.png");
-moz-image-region:auto}

.bookmark-item[container][query]{
list-style-image:url("chrome://browser/skin/places/query.png");
-moz-image-region:auto}

.bookmark-item[query][tagContainer]{
list-style-image:url("chrome://mozapps/skin/places/tagContainerIcon.png");
-moz-image-region:auto}

.bookmark-item[query][dayContainer]{
list-style-image:url("chrome://browser/skin/places/calendar.png");
-moz-image-region:auto}

.bookmark-item[query][hostContainer]{
list-style-image:url("chrome://global/skin/icons/folder-item.png");
-moz-image-region:rect(0,32px,16px,16px)}

.bookmark-item[query][hostContainer][open]{
list-style-image:url("chrome://global/skin/icons/folder-item.png");
-moz-image-region:rect(16px,32px,32px,16px)}

#window-controls{
-moz-box-align:start;
width:49px!important;
margin-left:4px}

#minimize-button,#restore-button,#close-button{
-moz-appearance:none;
border:none;
margin:0!important;
list-style-image:url("chrome://global/skin/icons/windowControls.png");
padding:0!important}

#minimize-button{
-moz-image-region:rect(0,16px,16px,0)}

#minimize-button:hover{
-moz-image-region:rect(16px,16px,32px,0)}

#minimize-button:hover:active{
-moz-image-region:rect(32px,16px,48px,0)}

#restore-button{
-moz-image-region:rect(0,32px,16px,16px)}

#restore-button:hover{
-moz-image-region:rect(16px,32px,32px,16px)}

#restore-button:hover:active{
-moz-image-region:rect(32px,32px,48px,16px)}

#close-button{
-moz-image-region:rect(0,49px,16px,32px);
-moz-appearance:none;
border:none;
margin:0}

#close-button:hover{
-moz-image-region:rect(16px,49px,32px,32px)}

#close-button:hover:active{
-moz-image-region:rect(32px,49px,48px,32px)}

#urlbar{
-moz-appearance:none;
width:7em;
min-width:7em;
height:29px!important;
border:none!important;
background-color:transparent;
margin:0!important}

#urlbar-container{
-moz-appearance:none;
-moz-box-orient:horizontal;
-moz-box-align:stretch;
-moz-margin-end:2px!important;
-moz-margin-start:3px!important}

#urlbar .textbox-input-box{
padding-top:0;
padding-bottom:1px;
font-size:13px;
text-shadow:#97989a 0 0 1px;
color:#000}

#urlbar > .autocomplete-textbox-container{
background:#97989a url("chrome://browser/skin/toolbar/url-textbox-bg.png") left center repeat-x;
-moz-box-align:stretch;
-moz-margin-start:29px}

#urlbar[level]:not([level="broken"]) > .autocomplete-textbox-container{
background-color:#bab77d!important}

#urlbar[level="broken"] > .autocomplete-textbox-container{
background-color:#ba7d7d!important}

#urlbar-icons{
height:18px;
-moz-box-align:center;
-moz-padding-end:4px;
padding-bottom:1px}

.urlbar-icon{
padding:0 2px;
-moz-border-image:none}

#urlbar-search-splitter{
min-width:4px;
-moz-margin-start:-2px;
border:none;
background:transparent}

#urlbar-search-splitter + #urlbar-container > #urlbar,
#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox{
-moz-margin-start:0}

#wrapper-urlbar-container #urlbar{
-moz-user-input:disabled;
cursor:-moz-grab}

#wrapper-urlbar-container #urlbar > .autocomplete-history-dropmarker{
display:none}

#urlbar > .autocomplete-history-dropmarker{
-moz-appearance:none;
background:transparent url("chrome://browser/skin/history-dropmarker-button.png") no-repeat 0 0;
border:none;
width:30px;
padding:0}

#urlbar > .autocomplete-history-dropmarker:hover{
background-position:0 -30px}

#urlbar > .autocomplete-history-dropmarker[open="true"],
#urlbar > .autocomplete-history-dropmarker:hover:active{
background-position:0 -60px}

#urlbar > .autocomplete-history-dropmarker > .dropmarker-icon{
display:none}

#urlbar[chromedir="ltr"] > .autocomplete-history-dropmarker{
border-left:none!important}

#urlbar-throbber{
list-style-image:url("chrome://global/skin/throbber/throbber.png")}

#urlbar .autocomplete-textbox-container{
direction:ltr}

#identity-popup-icon{
height:64px;
width:64px;
list-style-image:url("chrome://browser/skin/identity.png");
-moz-image-region:rect(0,64px,64px,0);
padding:0}

#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon{
-moz-image-region:rect(64px,64px,128px,0)}

#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon{
-moz-image-region:rect(128px,64px,192px,0)}

#identity-popup-content-box > description,
#identity-popup-encryption-label{
white-space:pre-wrap;
-moz-padding-start:15px;
margin:2px 0 4px}

#identity-popup-content-box > label{
white-space:pre-wrap;
-moz-padding-start:15px;
margin:0}

#identity-popup-content-host,
#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner{
font-size:12px}

#identity-popup-content-host{
margin-top:3px;
margin-bottom:5px;
font-weight:700;
max-width:300px}

#identity-popup-content-owner{
margin-top:4px;
margin-bottom:0!important;
font-weight:700;
max-width:300px}

.verifiedDomain > #identity-popup-content-owner{
font-weight:400}

#identity-popup-content-verifier{
margin:4px 0 2px}

#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption,
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption{
margin-top:10px;
margin-left:-24px}

#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon,
#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon{
list-style-image:url("chrome://browser/skin/Secure24.png")}

#identity-popup-more-info-button{
margin-top:6px;
-moz-margin-end:1px}

#identity-popup{
-moz-appearance:none;
background:none;
-moz-border-image:url("chrome://browser/skin/identitybox/identity-panel.png") 25 9 9 36 / 25px 9px 9px 36px}

#identity-popup[chromedir="ltr"]:-moz-system-metric(windows-default-theme){
-moz-margin-start:3px}

#identity-popup-container{
background-image:none;
min-width:280px;
padding:10px}

#page-proxy-favicon,
#urlbar-throbber{
width:16px;
height:16px}

#page-proxy-stack{
width:24px;
height:16px;
margin-top:1px;
margin-bottom:1px;
-moz-margin-start:3px;
-moz-padding-end:7px;
background:none}

#page-proxy-favicon:not([src]){
list-style-image:url("chrome://global/skin/icons/folder-item.png");
-moz-image-region:rect(0,16px,16px,0)}

#page-proxy-favicon[pageproxystate="invalid"]{
-moz-image-region:rect(32px,16px,48px,0)}

#PopupAutoComplete{
direction:ltr!important}

#PopupAutoComplete .autocomplete-treebody{
direction:ltr}

#PopupAutoCompleteRichResult{
direction:ltr!important}

#treecolAutoCompleteImage{
max-width:36px}

.ac-result-type-bookmark,
.autocomplete-treebody::-moz-tree-image(bookmark,treecolAutoCompleteImage){
list-style-image:url("chrome://browser/skin/places/bookmarked.png");
-moz-image-region:rect(0,16px,16px,0);
width:16px;
height:16px}

.ac-result-type-keyword,
.autocomplete-treebody::-moz-tree-image(keyword,treecolAutoCompleteImage){
list-style-image:url("chrome://browser/skin/Search-glass.png");
-moz-image-region:rect(0,32px,16px,16px);
width:16px;
height:16px}

.ac-result-type-tag,
.autocomplete-treebody::-moz-tree-image(tag,treecolAutoCompleteImage){
list-style-image:url("chrome://browser/skin/places/tag.png");
width:16px;
height:16px}

.ac-extra > .ac-comment{
font-size:inherit}

.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment){
color:GrayText}

.autocomplete-treebody::-moz-tree-cell-text(suggesthint,treecolAutoCompleteComment),
.autocomplete-treebody::-moz-tree-cell-text(suggestfirst,treecolAutoCompleteComment){
color:GrayText;
font-size:smaller}

.autocomplete-treebody::-moz-tree-cell(suggesthint){
border-top:1px solid GrayText}

#go-button{
list-style-image:url("chrome://browser/skin/Go-arrow.png");
-moz-image-region:rect(0,16px,16px,0);
margin:0 5px 0 3px;
padding:0}

#go-button:hover{
-moz-image-region:rect(16px,16px,32px,0)}

#go-button:hover:active{
-moz-image-region:rect(32px,16px,48px,0)}

#editBookmarkPanel{
-moz-appearance:none;
background:none;
-moz-border-image:url("chrome://browser/skin/starbutton/star-panel.png") 25 36 9 9 / 25px 36px 9px 9px}

#editBookmarkPanelStarIcon{
list-style-image:url("chrome://browser/skin/places/starred48.png");
width:48px;
height:48px}

#editBookmarkPanelStarIcon[unstarred]{
list-style-image:url("chrome://browser/skin/places/unstarred48.png")}

#editBookmarkPanelTitle{
font-size:130%}

#editBookmarkPanelHeader,
#editBookmarkPanelContent{
margin-bottom:.5em}

#editBMPanel_folderTree{
min-width:27em}

#security-button{
min-width:20px;
-moz-box-direction:reverse}

#security-button[level="high"],
#security-button[level="low"]{
list-style-image:url("chrome://browser/skin/Secure.png")}

#security-button[level="broken"]{
list-style-image:url("chrome://browser/skin/Security-broken.png")}

#security-button > label:not([value]){
display:none}

#page-report-button{
width:20px;
list-style-image:url("chrome://browser/skin/Info.png")}

#navigator-throbber{
width:16px;
min-height:16px;
list-style-image:url("chrome://global/skin/icons/notloading_16.png");
margin:0 3px}

#navigator-throbber[busy="true"]{
list-style-image:url("chrome://global/skin/throbber/throbber.png")}

toolbarbutton.chevron{
-moz-appearance:none;
list-style-image:url("chrome://global/skin/toolbar/chevron.png");
-moz-image-region:rect(0,31px,18px,0);
border:none;
background-image:none;

margin:2px 1px 1px 3px!important;
padding:0!important}

toolbarbutton.chevron[open="true"]:hover,
toolbarbutton.chevron[open="true"],
toolbarbutton.chevron:hover{
-moz-image-region:rect(18px,31px,36px,0);
background:#1c1d1d url("chrome://browser/skin/toolbar/chevron-hover.png") left center repeat-x;
-moz-border-radius:3px!important}

toolbarbutton.chevron > .toolbarbutton-text,
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker{
display:none}

toolbarbutton.chevron > .toolbarbutton-icon{
padding:0 3px!important;
margin:0}

toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon{
display:-moz-box}

toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon{
display:-moz-box}

toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text{
display:none}

#feed-button,#feed-button > .button-box,
#feed-button:hover:active > .button-box{
border:0;
background-color:transparent;
margin:0;
padding:0}

#feed-button > .button-box > .button-menu-dropmarker{
display:none}

#feed-button{
-moz-appearance:none;
min-width:0;
list-style-image:url("chrome://browser/skin/feeds/feed-icons-16.png");
-moz-image-region:rect(0,16px,16px,0);
background:none;
padding:0}

#feed-button:hover{
-moz-image-region:rect(0,32px,16px,16px)}

#feed-button[open="true"],
#feed-button:hover:active{
-moz-image-region:rect(0,48px,16px,32px)}

#pageReportFirstTime statusbarpanel.statusbar-resizerpanel{
visibility:collapse}

#checkForUpdates[loading="true"]{
list-style-image:url("chrome://global/skin/throbber/throbber.png")}

.toolbar-drop-indicator{
width:9px;
height:18px;
margin-bottom:-6px;
position:relative;
background:url("chrome://browser/skin/places/toolbarDropMarker.png") 50% 50% no-repeat}

.toolbar-drop-indicator-bar{
visibility:hidden;
height:18px;
margin-bottom:-18px;
position:relative}

.toolbar-drop-indicator-bar[dragging="true"]{
visibility:visible}

.menupopup-drop-indicator-bar{
position:relative;
margin-top:-1px;
margin-bottom:-1px}

.menupopup-drop-indicator{
list-style-image:none;
height:2px;
-moz-margin-end:-4em;
background-color:rgba(255,255,255,.2)}

#download-monitor{
list-style-image:url("chrome://browser/skin/dl16.png");
-moz-image-region:auto}

#bookmarksToolbarFolderMenu{
list-style-image:url("chrome://browser/skin/places/bookmarksToolbar.png");
-moz-image-region:auto}

#nav-bar[mode="full"]:not([currentset]),
#nav-bar[mode="full"][currentset$=",urlbar-container"],
#nav-bar[mode="full"][currentset$=",search-container"],
#nav-bar[iconsize="large"][mode="icons"]:not([currentset]),
#nav-bar[iconsize="large"][mode="icons"][currentset$=",urlbar-container"],
#nav-bar[iconsize="large"][mode="icons"][currentset$=",search-container"]{
-moz-padding-end:2px}

#nav-bar[mode="full"]:not([currentset]):-moz-system-metric(windows-default-theme),
#nav-bar[mode="full"][currentset$=",urlbar-container"]:-moz-system-metric(windows-default-theme),
#nav-bar[mode="full"][currentset$=",search-container"]:-moz-system-metric(windows-default-theme),
#nav-bar[iconsize="large"][mode="icons"]:not([currentset]):-moz-system-metric(windows-default-theme),
#nav-bar[iconsize="large"][mode="icons"][currentset$=",urlbar-container"]:-moz-system-metric(windows-default-theme),
#nav-bar[iconsize="large"][mode="icons"][currentset$=",search-container"]:-moz-system-metric(windows-default-theme){
-moz-padding-end:3px}

.KUI-panel{
-moz-appearance:none;
background:rgba(27%,27%,27%,.9) url("chrome://browser/skin/KUI-background.png") repeat-x;
color:white;
border-style:none;
-moz-border-radius:20px}

.KUI-panel[level="top"]{
background-color:rgba(27%,27%,27%,.65)}

.KUI-panel-closebutton{
list-style-image:url("chrome://browser/skin/KUI-close.png");
background:none!important;
-moz-appearance:none;
border:none;
padding:0;
width:24px;
height:24px;
opacity:.5}

.KUI-panel-closebutton:hover{
opacity:1}

.KUI-panel-closebutton > .toolbarbutton-icon{
margin:0}

.tabPreview-canvas{
-moz-box-shadow: 1px 1px 3px rgb(12%,12%,12%)}

.ctrlTab-favicon[src],
.allTabs-favicon[src]{
background-color:rgba(100%,100%,100%,0.75);
-moz-background-clip:padding;
-moz-border-radius:3px;
border:1px solid rgba(0,0,0,0.5);
width:24px;
height:24px;
padding:2px;
margin:2px}

#ctrlTab-panel{
padding:20px 10px 10px;
font-weight:bold;
text-shadow: 0 0 1px rgb(27%,27%,27%), 0 0 3px rgb(27%,27%,27%)}

.ctrlTab-preview:not(#ctrlTab-showAll) .tabPreview-canvas{
margin-bottom:2px}

.ctrlTab-preview .ctrlTab-preview-inner{
padding-bottom:10px}

#ctrlTab-showAll .ctrlTab-preview-inner{
padding:10px;
background-color:rgba(255,255,255,.2);
-moz-border-radius:.5em}

.ctrlTab-preview:focus .ctrlTab-preview-inner,
#ctrlTab-showAll:focus .ctrlTab-preview-inner{
color:white;
background-color:rgba(0,0,0,.6);
text-shadow:none;
padding:8px;
border:2px solid white;
-moz-border-radius:.5em}

.ctrlTab-preview:not(#ctrlTab-showAll):focus .ctrlTab-preview-inner{
margin:-10px -10px 0}

#ctrlTab-showAll{
margin-top:.5em}

#allTabs-panel{
padding:10px;margin-left:-10px}

#allTabs-panel:not(.KUI-panel){
-moz-appearance:none;
background:rgb(27%,27%,27%) url("chrome://browser/skin/KUI-background.png") repeat-x;
border:none;
color:white}

#allTabs-meta{
margin-bottom:10px}

#allTabs-filter{
-moz-margin-start:24px;-moz-margin-end:0}

#allTabs-tab-close-button{
margin-right:-16px;
background:none;
width:16px!important;
height:16px!important}

#allTabs-tab-close-button > .toolbarbutton-icon{
margin:0}

.allTabs-preview:focus,
.allTabs-preview:hover,
.allTabs-preview[closebuttonhover]{
color:white;
text-shadow:none;
background-color:rgba(75,140,220,.8);
-moz-border-radius:.5em}

.allTabs-preview:focus{
border:2px solid white}

.allTabs-preview-label{
-moz-transform:translate(0, 1px)}

#allTabs-panel:-moz-system-metric(windows-compositor),
#ctrlTab-panel:-moz-system-metric(windows-compositor){
background:transparent;
border:0;
-moz-border-radius:0;
-moz-appearance:-moz-win-glass;
color:black;
text-shadow:rgba(255,255,255,0.7) 0 1px 0, white 0 0 5px, white 0 0 10px!important}

#private-browsing-mode{
display:none;
width:27px;
height:24px;
background:url("chrome://browser/skin/private.png") bottom left no-repeat;
margin:0 4px 3px 3px}

#main-window[browsingmode="private"] #private-browsing-mode{
display:-moz-box}